<?php echo $this->Form->create('Curso', array('class' => 'form-horizontal'));?>
	<div class="control-group <?php echo ($this->Form->isFieldError('nome')) ? 'error' : ''; ?>">
		<?php echo $this->Form->Label('nome', 'Curso', array('class' => 'control-label'));	?>
		<div class="controls">
			<?php echo $this->Form->input('nome', array('type' => 'text', 'label' => false, 'div' => false, 'required' => false, 'error' => false));	?>
			<?php echo $this->Form->error('nome', null, array('wrap' => 'span', 'class' => 'help-block')); ?>
		</div>
	</div>
<?php echo $this->Form->end();?>
	
   
